encoding/base64.encoder.nbuf (field)
12 uses
encoding/base64 (current package)
base64.go#L206: nbuf int // number of bytes in buf
base64.go#L216: if e.nbuf > 0 {
base64.go#L218: for i = 0; i < len(p) && e.nbuf < 3; i++ {
base64.go#L219: e.buf[e.nbuf] = p[i]
base64.go#L220: e.nbuf++
base64.go#L224: if e.nbuf < 3 {
base64.go#L231: e.nbuf = 0
base64.go#L251: e.nbuf = len(p)
base64.go#L260: if e.err == nil && e.nbuf > 0 {
base64.go#L261: e.enc.Encode(e.out[:], e.buf[:e.nbuf])
base64.go#L262: _, e.err = e.w.Write(e.out[:e.enc.EncodedLen(e.nbuf)])
base64.go#L263: e.nbuf = 0
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |